<h2>Sign up for our newsletter to receive news and specials!</h2>
<form class="form-horizontal" action="/process?form=newsletter" id="newsletter" role="form" method="post">
    <input type="hidden" name="_csrf" value="{{csrf}}">
    <div class="form-group">
        <label for="field-name" class="col-sm-2 control-label">Name</label>
        <div class="col-sm-4">
            <input type="text" class="form-control" id="field-name" name="name">
        </div>
    </div>
    <div class="form-group">
        <label for="field-email" class="col-sm-2 control-label">Email</label>
        <div class="col-sm-4">
            <input type="email" class="form-control" required id="field-email" name="email">
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-offset-2 col-sm-4">
            <button type="submit" class="btn btn-default">Register</button>
        </div>
    </div>
</form>
{{#sections 'jquery'}}
    <script>
        $(document).ready(function () {
            $('#newsletter')
        })
    </script>
{{/sections}}